<?php if($error): ?>
<div class="alert alert-danger"> <button data-dismiss="alert" class="close" type="button"><i class="icon-remove"></i></button> <i class="icon-ban-circle"></i> Wrong username or password. </div>
<?php endif; ?>
<section class="panel"> <header class="panel-heading"> LOGIN </header> <form action="" class="panel-body" method="post"> <div class="form-group"> <label class="control-label">Username</label> <input type="name" name="username" class="form-control"> </div> <div class="form-group"> <label class="control-label">Password</label> <input name="password" type="password" id="inputPassword" class="form-control"> </div> <div class="checkbox"> <label> <input type="checkbox"> Keep me logged in </label> </div> <a href="#" class="pull-right m-t-xs"><small>Forgot password?</small></a> <button type="submit" class="btn btn-info">Sign in</button> </form> </section>